home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000131_sam@spade.com_Wed Mar 10 16:27:20 2004.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  73 lines

  1. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!newsfeed.icl.net!newsfeed.news2me.com!newsfeed3.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
  2. From: sam@spade.com
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Problems POSTing to ASP form from Kermit
  5. Message-ID: <u6su40df16ffjvve82t3e6fhbvob8qk3im@4ax.com>
  6. X-Newsreader: Forte Agent 1.91/32.564
  7. MIME-Version: 1.0
  8. Content-Type: text/plain; charset=ISO-8859-1
  9. Content-Transfer-Encoding: 8bit
  10. Lines: 56
  11. X-Complaints-To: abuse@easynews.com
  12. Organization: EasyNews, UseNet made Easy!
  13. X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
  14. Date: Wed, 10 Mar 2004 19:51:00 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14840
  16.  
  17. Hey all,
  18.  
  19. I'm new to this version of Kermit and the HTTP capabilities, so please
  20. bear with me.  Also, I sent an email to support at Columbia.edu, but I
  21. never received a response (or my spam filter ate the response :(  
  22.  
  23. I have a page in my ASP application that permits a user to browse and
  24. select a file on their system, then click the submit button to post
  25. the file to my page.  The file is posted as a multipart/form-data mime
  26. type when done through the ASP page, and I can parse it just fine.
  27.  
  28. I am trying to replicate this scenario for remote users running Kermit
  29. under SCO Unix.  I'd like to have Kermit build the multipart message
  30. and post it just like an HTML form would.  [Is this even possible?]
  31.  
  32. So far, my trials with the PUT command result in nothing more than 403
  33. Forbidden errors (trying 2 different servers).  The error message also
  34. shows the content-type as Text/html even though I've specified a mime
  35. type of multipart/form-data  in the put command.
  36.  
  37. Here's my Kermit command...
  38.  
  39. http /TOSCREEN /USER:myuserd /PASSWORD:mypswd put
  40. /MIME-TYPE:multipart/form-data File2Upload.txt
  41. http://localhost/test20/RemoteFileImportPost.asp
  42.  
  43. The results I get are as follows...
  44.  
  45.             DNS Lookup...  Trying 127.0.0.1... (OK)
  46.             Server: Microsoft-IIS/5.1
  47.             Date: Tue, 02 Mar 2004 17:24:26 GMT
  48.  
  49.             HTTP/1.1 403 Forbidden
  50.             Server: Microsoft-IIS/5.1
  51.             Date: Tue, 02 Mar 2004 17:24:26 GMT
  52.             Connection: close
  53.             Content-Type: text/html
  54.             Content-Length: 44
  55.  
  56. (The content-length value of 44 doesn't change regardless of the file
  57. I've selected to upload.)
  58.  
  59. I've included userid and password as both a switch and as a preface to
  60. the URL with identical results.  
  61.  
  62. I∩┐╜m running on day 12 of the 21 day trial at the moment.  The users
  63. I∩┐╜m supporting are actually military food ordering guys in the field.
  64. They are all running C-Kermit 8.0.209, 17 Mar 2003, for Unixware 7,
  65. according to the doc they sent me.
  66.  
  67. I∩┐╜ve successfully managed to get Kermit to POST form data using a
  68. separate file for the form parameters.  (This is how I∩┐╜ll get the
  69. users to logon prior to sending their data.)
  70.  
  71. Thanks for any help you can provide.
  72.  
  73.